From 39f57407639b85c7e929d349ee95eabc46d083e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Javier=20Jard=C3=B3n?= Date: Fri, 19 Nov 2010 09:01:39 +0100 Subject: [PATCH] configure: define GTK+ version before AC_INIT So the gtk_version varibale will be defined --- configure.ac | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/configure.ac b/configure.ac index 5de27be06e..3ac0bec577 100644 --- a/configure.ac +++ b/configure.ac @@ -1,14 +1,4 @@ # Process this file with autoconf to produce a configure script. -# require autoconf 2.54 -AC_PREREQ([2.62]) - -AC_INIT([gtk+], [gtk_version], - [http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B], - [gtk+]) - -AC_CONFIG_HEADER([config.h]) -AC_CONFIG_SRCDIR([gdk/gdktypes.h]) -AC_CONFIG_MACRO_DIR([m4]) # Making releases: # GTK_MICRO_VERSION += 1; @@ -29,6 +19,15 @@ m4_define([gtk_version], # This is the X.Y used in -lgtk-FOO-X.Y m4_define([gtk_api_version], [3.0]) +AC_PREREQ([2.64]) +AC_INIT([gtk+], [gtk_version], + [http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B], + [gtk+]) + +AC_CONFIG_HEADER([config.h]) +AC_CONFIG_SRCDIR([gdk/gdktypes.h]) +AC_CONFIG_MACRO_DIR([m4]) + # Define a string for the earliest version that this release has # backwards binary compatibility with for all interfaces a module # might. Unless we add module-only API with lower stability -- 2.30.2